Wildcard

A Wildcard resembles a file name, with two exceptions: A Wildcard can contain the characters "*" (asterisk) and "?" (question mark), while a file name cannot.

 

When comparing a wildcard to a file name, the "?" character in a wildcard will match any corresponding character in a filename. For example, this wildcard:

 

   Quarter ? Report.xls

 

matches these file names: 

 

   Quarter 1 Report.xls

   Quarter 2.Report.xls

   Quarter 3 Report.xls

 

When comparing a wildcard to a file name, the "*" character in a wildcard matches any number of consecutive characters in a filename. For example, this wildcard:

 

   * Report.doc

 

matches these file names:

 

   Monthly Report.doc

   Daily Report.doc

   Report.doc